﻿using System;

namespace SharpDepend
{
    public interface IThread
    {
        void Start();

        void Join();
    }

    public interface IThreadManager
    {
        void RunThread(string name, Delegate method);

        IThread CreateThread(string name, Delegate method);

        void Sleep(int milliseconds);
    }
}
